const express = require('express');
//创建一个路由表 
const router = express.Router();

router.use('/register',(req,res)=>
    res.send({
        code:1,
        message:'注册成功',
        data:[{name:'张三'},{name:'张三1'},{name:'张三2'}]
    })
);

router.use('/login',(req,res)=>
    res.send({
        code:1,
        message:'登录成功',
        data:[{name:'张三'},{name:'张三1'},{name:'张三2'}]
    })
);

router.get('/info',()=>{})
router.get('/rpwd',()=>{})
router.get('/logout',()=>{})

module.exports = router